<?php
$this->breadcrumbs=array(
	$model->name=>array('status','id'=>$model->id),
	Yii::t('project','Preliminary Work'),
);
?>

<?php echo $this->renderPartial('_wizard',array('model'=>$model, 'current'=>'prework')); ?>

<div class="row-fluid">
	<div class="span12">
		<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
							'id'=>'project-prework-form',
							'enableAjaxValidation'=>false,
		)); ?>

		<?php echo $form->errorSummary($model); ?>
		
		<?php echo $form->textFieldRow($model,'feasibility_research',array('class'=>'span6','maxlength'=>148)); ?>
		
		<?php echo $form->textFieldRow($model,'init_design',array('class'=>'span6','maxlength'=>148)); ?>
		
		<?php echo $form->textFieldRow($model,'financial_assess',array('class'=>'span6','maxlength'=>148)); ?>
		
		<?php echo $form->textFieldRow($model,'bidding',array('class'=>'span6','maxlength'=>148)); ?>
	
		<div class="form-actions">
			<?php $this->widget('bootstrap.widgets.TbButton', array(
				'buttonType'=>'link',
				'type'=>'link',
				'url'=>array('project/status', 'id'=>$model->id),
				'label'=>Yii::t('common','Cancel'),
			)); ?>
			<?php $this->widget('bootstrap.widgets.TbButton', array(
				'buttonType'=>'submit',
				'type'=>'primary',
				'label'=>$model->isNewRecord ? Yii::t('common','Create') : Yii::t('common','Save and Next'),
			)); ?>
		</div>
	
		<?php $this->endWidget(); ?>
	</div>
</div>